package com.ruoyi.operation.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 活动管理对象 activity
 *
 * @author ruoyi
 * @date 2022-07-09
 */
public class Activity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动ID */
    private String activityid;

    /** 活动描述 */
    @Excel(name = "活动描述")
    private String description;

    /** 优惠券 */
    @Excel(name = "优惠券")
    private String coupon;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long status;

    /** 消费门槛 */
    @Excel(name = "消费门槛")
    private Long max;

    /** 抵用额 */
    @Excel(name = "抵用额")
    private Long sub;

    public void setActivityid(String activityid)
    {
        this.activityid = activityid;
    }

    public String getActivityid()
    {
        return activityid;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setCoupon(String coupon)
    {
        this.coupon = coupon;
    }

    public String getCoupon()
    {
        return coupon;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setMax(Long max)
    {
        this.max = max;
    }

    public Long getMax()
    {
        return max;
    }
    public void setSub(Long sub)
    {
        this.sub = sub;
    }

    public Long getSub()
    {
        return sub;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("activityid", getActivityid())
                .append("description", getDescription())
                .append("coupon", getCoupon())
                .append("status", getStatus())
                .append("max", getMax())
                .append("sub", getSub())
                .toString();
    }
}
